div, .box {
  background-color: #fff;
  width: 300px;
  height: 300px;
  color: red;
}

.box {
  line-height: 50px;
}
